package service;

import domain.User;

import java.util.List;

public interface UserService {
    List<User> findList();

    boolean deleteById(String id);

    User findById(String id);

    boolean updateUser(User user);

    boolean addUser(User user);

    List<User> queryPage(int offset, int count);

    int findSum();

}
